package cli.tools;

/**
 * BudgetBuoy
 * 
 * Simplify your personal expense management
 * 
 * @team cs2103jan13-w15-3j
 */

//--------------------------------------------------------------

/**
 * UndoPair Class
 * 
 * Description: Getters and Setters of Objects in UndoPair
 * 
 * 
 * @package cli.tools
 * @author Tan Si Ling(A0085314J)
 * @editor(s) -
 */


public class UndoPair {

	private Object Old; 
	private Object New;
	private Process process;
	private Object change;

	//Income, Expense, Loan, Category, Payment, Records, Payment Modes can be modified. 
	//Constructor
	public UndoPair(Object Old, Object New, Process process, Object change){
		this.Old = Old;
		this.New = New;
		this.process = process;
		this.change = change;
	}

	/**
	 * Getters and Setters
	 */

	public Object getOld(){
		return Old;
	}

	public void setOld(Object Old){
		this.Old = Old;
	}

	public Object getNew(){
		return New;
	}

	public void setNew(Object New){
		this.New = New;
	}

	public Process getProcess(){
		return process;
	}

	public void setProcess(Process process){
		this.process = process;
	}

	public Object getChange(){
		return change;
	}

	public void setChange(Object change){
		this.change= change;
	}


}





